const nedb = require('nedb');
const db = {};

db.role = new nedb({filename: './db/role.db', autoload: true});
db.goods = new nedb({filename: './db/goods.db', autoload: true});
db.equipment = new nedb({filename: './db/equipment.db', autoload: true});

module.exports = { db }